/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.wpi.first.wpilibj.team1662.commands;

/**
 *
 * @author programmer
 */
public class LaunchBall extends CommandBase{
    
    public LaunchBall(){
        requires(launcher);
    }
    
    protected void execute(){
        launcher.release();
    }
    
    protected void initialize() {
        launcher.lock();
    }

    protected boolean isFinished() {
        return false;
    }

    protected void end() {
        launcher.lock();
    }

    protected void interrupted() {
        launcher.lock();
    }
    
}
